home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-03-16 | 5.7 KB | 174 lines | [TEXT/R*ch] |
- MPW Technicolour 0.9.6
- Copyright 1995-1996 Chris K. Thomas. All Rights Reserved.
- <ckt@best.com>
-
- "It's flowing through my brain
- and it’s easing all my pain."
-
- MPW Technicolor is an easily-installed patch to MPW which
- provides simple PowerMac-and-68k-native syntax coloring.
-
- New in version 0.9.6:
- * Fixed a cosmetic bug.
- * Some minor additions for SOM.
- * Forgot the "inline" keyword.
- * I seem to keep losing the keyword color array resource
- ('kJai' 128). It's back in this version. Thanks to
- all those who reported the loss.
-
- New in version 0.9.5:
- * New and updated keyword sets: Perl, PPCAsm, SOM IDL,
- and Java.
- * Stability. Shouldn’t cause crashes.
- * Speed. Should be significantly faster than previous
- releases.
-
- This will probably be the last significant release of MPW
- Technicolor in hack form.
-
- MPW Technicolour 0.9 features:
- * CodeWarrior-style keyword colorizing
- * configurable, resource-based keyword sets
- * Out-of-the-box support for:
- - C
- - C++
- - Fortran
- - Java
- - Inform
- - Pascal
- - Perl
- - PPCAsm
- - Rez
- - SOM IDL
-
- * runs in BBEdit, Think C, Think Pascal, and probably any others.
-
- I’m at ckt@best.com. Suggestions, bug reports, and other friendly
- correspondence welcome. Send in your keyword resources or Rez
- sources for inclusion in the next distribution.
-
- Technique used is directly inspired by "ColorHack 1991", written in
- 68k assembly by Ray Sanders and Steve Antonakes at MacHack 1991.
-
- Thanks to: (chronological order)
-
- Chris Reed
- Michael S. Kluskens
- Peter Terhoeven
- Steve Jasik
- Rich Siegel
- Matt Mora
- Alex McKale
- Eric Schlegal (sp?)
-
- —————————————• Installation
- "You can’t afford to pass him by."
-
- Simply copy the resources from the MPW Technicolor file into
- the application you wish to Technicolorize (probably MPW or
- BBEdit or CodeWarrior.)
-
- If you use a version of PopUpFuncs prior to 2.7: There is an
- existing ‘WDEF’ id 0 in your MPW Shell. Change the id to
- 1024 before installing Technicolor. (This type and ID
- can be changed by modification of the ‘WGFA’ resource.)
-
- If you use PopUpFuncs 2.7, Technicolor is a one-button install
- (along with PopUpFuncs), thanks to Rich Siegel and the other
- folks at Bare Bones Software (http://www.barebones.com/).
-
- Instructions for keyword and color customizing are in the
- “Customizing Technicolor” folder.
-
- I recommend the installation of Macsbug 6.5.2 or an equivalent
- low-level debugger as well, as error messages will be delivered
- via DebugStr until I write code which uses the notification manager
- (in an effort to remain application-independent).
-
- —————————————• Warnings
- "And suddenly the novice was enlightened."
-
- This software is provided AS IS. I can’t be held responsible if
- it crashes your Mac and you lose your hard drive as a result.
- Apple might be liable for selling you a Mac which causes you to
- lose hard drives in crashes. (Hmmm... But if that were so, the
- Unix industry would've died ten years ago, strangled by lawsuits,
- and Microsoft wouldn’t still be here either. Never mind, you're
- on your own entirely.)
-
- You are hereby warned that this software has received a total of
- five minutes testing on an Apple II+. It also happens to have been
- coded in five minutes, so be doubly cautious.
-
- —————————————• Version History
-
- Version 0.9.1 (private release):
- * Updated keyword sets.
- * Keywords are no longer colorized in dialogs, which should
- fix other possible misc problems as well.
-
- Version 0.9:
- * Support for case insensitive keywords for Pascal, Dylan, et al
- * Coloring is more accurate WRT edge cases ...
- * Fixed the ResEdit 'kJai' template
- * Now coexists peacefully with PopUpFuncs and things of that nature
- * New keyword sets:
- MPW Shell Script (files ending in "Worksheet", ".ss", ".ts")
- Inform, the Infocom game language (files ending in ".inf")
-
- * No doubt other misc stuff.
-
- Version 0.8.1:
- * CodeWarrior’s linker is in the bad habit of deleting random
- resources in the destination file for no apparent reason. So,
- here’s a resource file with the proper set of resources.
-
- Version 0.8:
- * Multiple configurable keyword sets based on file dot extensions!
- * 68k support!
- * Includes the Rez files/project used to generate the resources
- * Compiled optimized now
- * Some speed optimizations
- * Fixed ResEdit template bug
-
- Version 0.7:
- * Keywords and colors are now configurable via resources.
- Still limited to a single global set of keywords.
- * Fixed all known cosmetic bugs.
- * No known non-cosmetic bugs in 0.5, so no non-cosmetic
- fixes.
- * The optional colorized MPW icon now contains a set of
- appropriate small icons.
-
- Version 0.5:
- * First release.
-
- —————————————• Limitations
- "Time is passing"
-
- The default keyword set, used when Technicolor can’t match the
- current filename to a keyword set, is hardwired to C++.
-
- In the current (3.4/3.4.1) MPW Shell, Technicolor is limited to
- the original 8 QuickDraw colors. This shouldn't be a problem with
- BBEdit or other apps which use color windows. This will be fixed.
-
- Currently, MPW Technicolor can’t parse through tabs. This will
- show up, for example, as a line "//scheme \t >is a language?<"
- where \t represents a tab and the text >between< is *not* hilited
- in red. This can be fixed through the implementation of a cache
- scheme, but it’s a lower-priority fix, and if I do it, it will be
- the last thing I do.
-
- Doesn’t parse "/* comment */"-style comments on a single line yet,
- this will appear soon. (This is not entirely true, actually, you
- can set "/*" as a ColorTillEndOfLine-class keyword, but that won’t
- always do The Right Thing.)
-
- Can’t parse comments which span multiple lines yet. This may not
- be fixable.
-
- Text won’t always be colored properly in the background after
- an update event. I don’t think I can fix this from outside the
- Shell.
-